PSuppressAutosave
Suppresses or activates the automatic mini-save feature.
Command constructor
PSuppressAutosave(PMBool bSuppress);
false to activate automatic mini-save feature
true to suppress automatic mini-save feature
When minisaves occur. When SuppressAutosave is off (the PageMaker
default state), PageMaker performs a minisave if you:
- Paste.
- Modify a setting in the Document Setup dialog box and click OK.
- Insert or delete a page.
- Move to another page or click current page icon.
- Autoflow text.
- Display the Indents/Tabs ruler.
- Display the Define Styles dialog box or use the PStyleBegin/PStyleEnd
commands.
- Create a table of contents or index.
- Switch between views (story editor and layout).
- Close or switch from the Find, Change, or Spelling dialog boxes back
to a story that has changed since last save or minisave. (No minisave occurs
if the story has not been placed.)
- Switch to another story in story editor that has changed since the
last minisave. (No minisave occurs if the story has not been placed.)
- Resize the story window of a story that has changed since the last
minisave. (No minisave occurs if the story has not been placed.)
- Change all instances of a search item using either the PChangeAll
command or the Change All button in the Change dialog box.
The PageMaker default. The PageMaker default state is with the minisave
feature turned on.
Caution: Always turn off PSuppressAutosave at end. Always turn off
the PSuppressAutosave command before returning control back to PageMaker.
This command has no menu equivalent, so the user would need to run a script
to return PageMaker to its default state. The automatic minisave feature
is a safeguard for users and allows them to recover work since the last
save or minisave.
Example. The following example suppresses automatic minisaves.
PSuppressAutoSave(true);
See also
The PMiniSave command
The PGetSuppressAutosave
query
Copyright © 1996, Adobe Systems Incorporated. All rights reserved.
Comments or suggestions? Contact Adobe
Developer Support